package com.example.wastes.shopping.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wastes.common.pojo.Shopping;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ShoppingService extends IService<Shopping> {
    List<Shopping> findShoppingranking();
   List<Shopping> findShopingcondition(int id);

   int upload (Shopping shopping, MultipartFile file, HttpServletRequest request);

    Shopping SelectIntegral(@Param("id") Integer id);
    List<Shopping> findShoppingName(String shoppingname);
    int shoppingImg (Shopping shopping, MultipartFile file, HttpServletRequest request);
}
